package com.josework.springhelloworld.model.impl;

import com.josework.springhelloworld.model.Observer;

public class LeMonde implements Observer {
    @Override
    public void notify(String tweet) {
        if (tweet!=null && tweet.contains("wine")){
            System.out.println("Today cheese, wine and news! " + tweet);
        }
    }
}
